<%@ page pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<c:if test="${empty SESSION_BEAN }">
<script type="text/javascript" language="javascript">
	top.location.href='${pageContext.request.contextPath}/index.jsp';
</script>
</c:if>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>${appTitle }</title>
<%@ include file="../common/js.jsp"%>
<meta name="referrer" content="no-referrer">
</head>
<body>
    <!--[if lte IE 7]>
        <div id="errorie"><div>您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本 <a target="_blank" href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>&nbsp;&nbsp;强烈建议您更改换浏览器：<a href="http://down.tech.sina.com.cn/content/40975.html" target="_blank">谷歌 Chrome</a></div></div>
    <![endif]-->
    <div id="bjui-top" class="bjui-header">
        <div class="container_fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapsenavbar" data-target="#bjui-top-collapse" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <nav class="collapse navbar-collapse" id="bjui-top-collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li class="datetime"><a><span id="bjui-date">0000/00/00</span> <span id="bjui-clock">00:00:00</span></a></li>
                    <li><a href="javascript:;"><i class="fa fa-star-o"></i> 账号：${SESSION_BEAN.user.user.uname }</a></li>
                    <li><a href="javascript:;"><i class="fa fa-sun-o"></i> 角色: ${SESSION_BEAN.user.role }</a></li>
                    <li><a href="${ctx}/com/toSelf.do" data-toggle="dialog" data-id="sys_user_changepass" data-mask="true" data-width="400" data-height="300"><i class="fa fa-heart-o"></i> 修改密码</a></li>
                    <li><a href="${ctx}/sys/get${SESSION_BEAN.role}Info.do?uid=${SESSION_BEAN.user.id}" data-toggle="dialog" data-id="sys_user_changeinfo" data-mask="true" data-width="400" data-height="600"><i class="fa fa-user-o"></i> 个人资料</a></li>
                    <li><a href="${ctx}/com/logout.do" style="font-weight:bold;">&nbsp;<i class="fa fa-power-off"></i> 注销登陆</a></li>
<!--                     <li class="dropdown"><a href="#" class="dropdown-toggle bjui-fonts-tit" data-toggle="dropdown" title="更改字号"><i class="fa fa-font"></i> 大</a> -->
<!--                         <ul class="dropdown-menu" role="menu" id="bjui-fonts"> -->
<!--                             <li><a href="javascript:;" class="bjui-font-a" data-toggle="fonts"><i class="fa fa-font"></i> 特大</a></li> -->
<!--                             <li><a href="javascript:;" class="bjui-font-b" data-toggle="fonts"><i class="fa fa-font"></i> 大</a></li> -->
<!--                             <li><a href="javascript:;" class="bjui-font-c" data-toggle="fonts"><i class="fa fa-font"></i> 中</a></li> -->
<!--                             <li><a href="javascript:;" class="bjui-font-d" data-toggle="fonts"><i class="fa fa-font"></i> 小</a></li> -->
<!--                         </ul> -->
<!--                     </li> -->
<!--                     <li class="dropdown active"><a href="#" class="dropdown-toggle theme" data-toggle="dropdown" title="切换皮肤"><i class="fa fa-tree"></i></a> -->
<!--                         <ul class="dropdown-menu" role="menu" id="bjui-themes"> -->
<!--                            
<!--                             <li><a href="javascript:;" class="theme_default" data-toggle="theme" data-theme="default">&nbsp;<i class="fa fa-tree"></i> 黑白分明&nbsp;&nbsp;</a></li> -->
<!--                             <li><a href="javascript:;" class="theme_orange" data-toggle="theme" data-theme="orange">&nbsp;<i class="fa fa-tree"></i> 橘子红了</a></li> -->
<!--                             --> -->
<!--                             <li><a href="javascript:;" class="theme_purple" data-toggle="theme" data-theme="purple">&nbsp;<i class="fa fa-tree"></i> 紫罗兰</a></li> -->
<!--                             <li class="active"><a href="javascript:;" class="theme_blue" data-toggle="theme" data-theme="blue">&nbsp;<i class="fa fa-tree"></i> 天空蓝</a></li> -->
<!--                             <li><a href="javascript:;" class="theme_green" data-toggle="theme" data-theme="green">&nbsp;<i class="fa fa-tree"></i> 绿草如茵</a></li> -->
<!--                         </ul> -->
<!--                     </li> -->
<!--                     <li><a href="javascript:;" onclick="bjui_index_exchange()" title="横向收缩/充满屏幕"><i class="fa fa-exchange"></i></a></li> -->
                </ul>
            </nav>
        </div>
    </div>
    <header class="navbar bjui-header" id="bjui-navbar">
        <div class="container_fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" id="bjui-navbar-collapsebtn" data-toggle="collapsenavbar" data-target="#bjui-navbar-collapse" aria-expanded="false">
                    <i class="fa fa-angle-double-right"></i>
                </button>
                <a class="navbar-brand" href="${ctx}/exit.jsp"><span style="margin-left: 15px;color:white;font-size: 24px;line-height: 30px">${appTitle }</span></a>
            </div>
            <nav class="collapse navbar-collapse" id="bjui-navbar-collapse">
                <ul class="nav navbar-nav navbar-right" id="bjui-hnav-navbar">
                    <li class="active">
                        <a href="${ctx}/com/menu.do" data-toggle="sidenav" data-id-key="targetid">系统菜单</a>
                    </li>
                </ul>
            </nav>
        </div>
    </header>
    <div id="bjui-body-box">
        <div class="container_fluid" id="bjui-body">
            <div id="bjui-sidenav-col">
                <div id="bjui-sidenav">
                    <div id="bjui-sidenav-arrow" data-toggle="tooltip" data-placement="left" data-title="隐藏左侧菜单">
                        <i class="fa fa-long-arrow-left"></i>
                    </div>
                    <div id="bjui-sidenav-box">
                        
                    </div>
                </div>
            </div>
            <div id="bjui-navtab" class="tabsPage">
                <div id="bjui-sidenav-btn" data-toggle="tooltip" data-title="显示左侧菜单" data-placement="right">
                    <i class="fa fa-bars"></i>
                </div>
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent">
                        <ul class="navtab-tab nav nav-tabs">
                            <li><a href="javascript:;"><span><i class="fa fa-home"></i> #maintab#</span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft"><i class="fa fa-angle-double-left"></i></div>
                    <div class="tabsRight"><i class="fa fa-angle-double-right"></i></div>
                    <div class="tabsMore"><i class="fa fa-angle-double-down"></i></div>
                </div>
                <ul class="tabsMoreList">
                    <li><a href="javascript:;">#maintab#</a></li>
                </ul>
                <div class="navtab-panel tabsPageContent">
                    <div class="navtabPage unitBox">
                        <div class="bjui-pageContent">
                                <div class="bjui-pageContent">
								<form action="${ctx}/sys/updateUserMailConfig.do" id="j_custom_form" data-toggle="ajaxform">
									<div class="bjui-row col-3">
										<label class="row-label">SMTP端口</label>
										<div class="row-input">
											 ${modifybean.smtpPort} 
										</div><br />
							
										<label class="row-label">SMTP服务器</label>
										<div class="row-input">
											 ${modifybean.smtpHost} 
										</div><br />
							
										<label class="row-label">POP3端口</label>
										<div class="row-input">
											 ${modifybean.pop3Port} 
										</div><br />
							
										<label class="row-label">POP3服务器</label>
										<div class="row-input">
											 ${modifybean.pop3Host} 
										</div><br />
							
										<label class="row-label">邮箱账号</label>
										<div class="row-input">
											 ${modifybean.account} 
										</div><br />
							
<!-- 										<label class="row-label">邮箱密码</label> -->
<!-- 										<div class="row-input"> -->
<%-- 											<input type="password" name="password" id="UserMailConfig_password" value="${modifybean.password}" data-rule="required" size="50"> --%>
<!-- 										</div><br /> -->
							
							
									</div>
								</form>
							
							</div>
							<div class="bjui-pageFooter">
								<ul>
<!-- 									<li> -->
<!-- 										<button type="button" class="btn-close" data-icon="close">取消</button> -->
<!-- 									</li> -->
<!-- 									<li> -->
<!-- 										<button type="submit" class="btn-default" data-icon="save">保存</button> -->
<!-- 									</li> -->
								</ul>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="${ctx}/static/B-JUI/other/ie10-viewport-bug-workaround.js"></script>
</body>
</html>